Incompatible types possible lossy conversion from double to float